import { defineStore } from "pinia";

const state = {
  showFooter: true,
  isSidebarCompact: false,
  showBreadcrumb: false,
  mode: "light",
  layout: "side",
  splitMenu: false,
  isFooterAside: false,
  isSidebarFixed: true,
  isHeaderFixed: true,
  isUseTabsRouter: false,
  showHeader: true,
  backgroundTheme: "blueGrey",
  brandTheme: "default",
};

// 定义了一个store
export const useSettingStore = defineStore("setting", {
  state: () => state,
});
